<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Messages.ascx.cs" Inherits="UserInterface.UserControls.Messages" %>

<div id="messages">
    <asp:Repeater ID="criticalRepeater" runat="server">
        <HeaderTemplate>
            <div class="critical">
        </HeaderTemplate>

        <ItemTemplate>
            <div><%# Container.DataItem %></div>
        </ItemTemplate>

        <FooterTemplate>
            </div>
        </FooterTemplate>
    </asp:Repeater>
    
    <asp:Repeater ID="exclamationRepeater" runat="server">
        <HeaderTemplate>
            <div class="exclamation">
        </HeaderTemplate>

        <ItemTemplate>
            <div><%# Container.DataItem %></div>
        </ItemTemplate>

        <FooterTemplate>
            </div>
        </FooterTemplate>
    </asp:Repeater>
    
    <asp:Repeater ID="informationRepeater" runat="server">
        <HeaderTemplate>
            <div class="information">
        </HeaderTemplate>

        <ItemTemplate>
            <div><%# Container.DataItem %></div>
        </ItemTemplate>

        <FooterTemplate>
            </div>
        </FooterTemplate>
    </asp:Repeater>
    
    <asp:Repeater ID="permissionRepeater" runat="server">
        <HeaderTemplate>
            <div class="permission">
        </HeaderTemplate>

        <ItemTemplate>
            <div><%# Container.DataItem %></div>
        </ItemTemplate>

        <FooterTemplate>
            </div>
        </FooterTemplate>
    </asp:Repeater>
    
    <asp:Repeater ID="successRepeater" runat="server">
        <HeaderTemplate>
            <div class="success">
        </HeaderTemplate>

        <ItemTemplate>
            <div><%# Container.DataItem %></div>
        </ItemTemplate>

        <FooterTemplate>
            </div>
        </FooterTemplate>
    </asp:Repeater>
</div>